package cn.mybatis.vo;

import lombok.Data;

@Data
public class Tb_person {
    private Integer id;
    private String name;
    private Integer age;
    private String sex;
    private Tb_idcard tb_idcard;  //主键所在类的对象

    @Override
    public String toString() {
        return "Tb_person:{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", tb_idcard=" + tb_idcard +
                '}';
    }
}
